package com.nine.news.enums;

import java.math.BigDecimal;

/**
 * @Author: szhan
 * @Date: 2023/03/22/9:04 AM
 * @Description:
 */
public enum ServerType {
    短信服务(1,new BigDecimal("0.03")),
    图片上传服务(1,new BigDecimal("0.015")),
    视频上传服务(1,new BigDecimal("0.02")),
    人脸识别服务(1,new BigDecimal("0.01"));
    private int value;
    private BigDecimal price;
    private ServerType(int v,BigDecimal p){
        this.value=v;
        this.price = p;
    }

    public int getValue() {
        return value;
    }

    public BigDecimal getPrice() {
        return price;
    }
}
